#define _CRT_SECURE_NO_WARNINGS

#include"Stack.h"

void test()
{
	Stack st;
	StackInit(&st);
	StackPush(&st, 1);
	StackPush(&st, 2);
	StackPush(&st, 3);
	StackPush(&st, 4);
	StackPush(&st, 5);
	/*StackDatatype top = StackTop(&st);
	printf("top:%d\n", top);*/
	StackPop(&st);
	StackPop(&st);
	StackPop(&st);
	StackPop(&st);
	StackPop(&st);
	//StackPop(&st);
	StackDestory(&st);
}
int main()
{
	test();
	return 0;
}